#pragma once
#include "HashTable.h"

template<class K>
class Unordered_Set
{
	struct SetKeyOfT
	{
		const K& operator()(const K& key)
		{
			return key;
		}
	};
public:
	bool insert(const K& key)
	{
		return _sht.Insert(key);
	}
private:
	hash_bucket::HashTable<K, K, SetKeyOfT> _sht;
};
